<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$route['default_controller'] = "home";
$route['404_override'] = ''; 
$route['gop-y-10cong']='mod_email/mod_email/gopy';
$route['tai-khoan/giao-vien']='com_tutors/com_tutors/quanlygv';
$route['dang-ki-thanh-cong']='mod_account/mod_account/studen_success';
$route['email/soan/(:any)']='mod_email/mod_email/soanmail';
$route['email/chi-tiet/(:num)']='mod_email/mod_email/chitiet';
$route['email/chi-tiet-di/(:num)']='mod_email/mod_email/chitietdi';
$route['email/thuden']='mod_email/mod_email/thuden';
$route['email/thuden/(:num)']='mod_email/mod_email/thuden';
$route['gia-su/email']='mod_email/mod_email';
$route['gia-su/email/(:num)']='mod_email/mod_email';
$route['tai-khoan/thong-tin']='mod_account/mod_account/change_info';
$route['tai-khoan/doi-mat-khau']='mod_account/mod_account/change_pass';
$route['diem-cua-toi'] = "mod_point/mod_point/index";
$route['doi-thanh-cong'] = "mod_point/mod_point/exchange_success";
$route['doi-diem-thuong/(:num)'] = "mod_point/mod_point/exchange";
$route['phan-thuong'] = "mod_point/mod_point/my_gift";
$route['view-site/(:any)']='mod_point/mod_point/viewsite';
$route['active-account/(:any)'] = "mod_account/mod_account/active";
$route['ajax/search']='com_search/com_search/timkiem/$1';
$route['tim-gia-su'] = "com_search/com_search/index";
//$route['tim-gia-su/(:any)'] = "com_search/com_search/index";
$route['yeu-cau-gia-su'] = "com_tutors/com_tutors/request";
$route['thong-tin-gia-su.(:num)'] = "com_tutors/com_tutors/details_tutor";
$route['thong-tin-gia-su.(:num)/(:any)'] = "com_tutors/com_tutors/details_tutor";
$route['tro-giup'] = "mod_faq/mod_faq/index";
$route['y-kien'] = "mod_reviews/mod_reviews/index";
$route['y-kien-gia-su'] = "mod_reviews/mod_reviews/reviews_giasu";
$route['viet-y-kien'] = "mod_reviews/mod_reviews/write_reviews";
$route['dang-nhap'] = "mod_account/mod_account/login";
$route['reset-password'] = "mod_account/mod_account/reset";
$route['reset-password/(:any)'] = "mod_account/mod_account/change_reset";
$route['dang-ky/crop'] = "mod_crop/mod_crop/index";
$route['dang-ky/crop2'] = "mod_crop/mod_crop/cropanh";
$route['dang-ky/(:any)'] = "mod_account/mod_account/xuly";
$route['dang-ky'] = "mod_account/mod_account/register";
$route['bai-test/(:any)'] = "mod_test/mod_test/index";
$route['moi-ban-be'] = "mod_invited/mod_invited/index";
$route['hoc-sinh-y-kien-gia-su'] = "mod_reviews/mod_reviews/reviews_st_tutor";
//ROUTER SEARCH
$route['tim-kiem/(:any)'] = "com_search/com_search/index";
$route['tim-kiem'] = "com_search/com_search/index";
// RUOTER QUáº¢N LĂ� GIĂ�O VIĂ�N
$route['(:any)-subjects(:num)'] = "mod_subjects/mod_subjects/get_tutor";
$route['(:any)-subjects(:num)/(:num)'] = "mod_subjects/mod_subjects/get_tutor";
$route['gia-su'] = "com_tutors/com_tutors/tutor_profile";
$route['gia-su/them-mon-hoc'] = "com_tutors/com_tutors/addsubjects";
$route['gia-su/hoc-phi'] = "com_tutors/com_tutors/ratetutor";
$route['gia-su/anh-dai-dien'] = "com_tutors/com_tutors/profile_tutors_photo";
$route['gia-su/anh-dai-dien/upload'] = "com_tutors/com_tutors/upload_images";
$route['crop'] = "com_tutors/com_tutors/crop_images";
$route['gia-su/mon-hoc'] = "com_tutors/com_tutors/subjects_tutor";
$route['gia-su/ho-so'] = "com_tutors/com_tutors/hoso";
$route['gia-su/bang-cap'] = "com_tutors/com_tutors/education";
$route['gia-su/tu-thuat'] = "com_tutors/com_tutors/response";
$route['gia-su/lop-can-gia-su'] = "com_tutors/com_tutors/lopcangiasu";
$route['gia-su/lop-can-gia-su/(:any)'] = "com_tutors/com_tutors/lopcangiasu";
$route['gia-su/nhan-day/(:num)'] = "com_tutors/com_tutors/nhanday";
$route['gia-su/danh-gia-tu-hoc-sinh'] = "com_tutors/com_tutors/hs_danhgia";
$route['gia-su/lop-hien-co']='com_tutors/com_tutors/lop';
$route['gia-su/quan-ly-hoc-sinh']='com_tutors/com_tutors/quanlyhs';
$route['gia-su/video-gioi-thieu']='com_tutors/com_tutors/videos';
// END
// RUOTER USERS
$route['logout'] = "mod_account/mod_account/logout";
// END
// ROUTER AJAX 
$route['ajax/index'] = "mod_content/mod_content/districts";
$route['ajax/update_mon'] = "com_tutors/com_tutors/update_des_mon";
$route['ajax/getmon'] = "com_tutors/com_tutors/get_mon_ajax";
$route['ajax/select-mon'] = "mod_ajax/mod_ajax/get_monhoc";
$route['ajax/addmonhoc'] = "mod_ajax/mod_ajax/ajax_add";
$route['ajax/update-rate'] = "mod_ajax/mod_ajax/update_rate";
$route['ajax/update-edu'] = "mod_ajax/mod_ajax/update_edu";
$route['ajax/update-respon'] = "mod_ajax/mod_ajax/update_respon";
$route['ajax/vietdanhgia'] = "mod_ajax/mod_ajax/vietdanhgia";
$route['ajax/thong-tin-gia-su.(:num)'] = "mod_ajax/mod_ajax/details_giasu";
$route['ajax/thong-tin-gia-su'] = "mod_ajax/mod_ajax/details_giasu";
$route['ajax/guiemail'] = "mod_ajax/mod_ajax/guiemail";
$route['ajax/request'] = "mod_ajax/mod_ajax/request";
$route['ajax/xoaanh'] = "mod_ajax/mod_ajax/xoaanh";
$route['ajax/xoamonhoc'] = "mod_ajax/mod_ajax/xoamonhoc";
$route['ajax/ratestar'] = "mod_ajax/mod_ajax/ratestar";
$route['ajax/doipassmoi'] = "mod_ajax/mod_ajax/doipassmoi";
// end
/* router admin
#########################################################
 */
$route['home/ajax'] = 'home/ajax';
$route['admin'] = 'admin';
$route['admin/bang-chinh'] = 'admin/dashboard';
$route['admin/(:any)'] = 'admin/$1';
$route['dangnhap'] = 'dangnhap/index/$1';
$route['dangnhap/(:any)'] = 'dangnhap/$1';
$route['upsanpham'] = 'upsanpham';
$route['upsanpham/(:any)'] = 'upsanpham/$1';
$route['(:any)'] = 'notfound';
/* 
#########################################################
end router admin */
/* End of file routes.php */
/* Location: ./application/config/routes.php */
?>